package com.xjj.serviceattend.feignclient;

import com.xjj.entity.Manager;
import com.xjj.entity.ResponseEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

/**
 * @Auther: AYang
 * @Date: 2022/10/24 19:11
 * @Description:
 */
@FeignClient(value = "auth")
@RequestMapping("/auth/admin")
public interface ManagerFeignClient {
    @GetMapping("/getMe")
    public ResponseEntity<Manager> getMe(HttpServletRequest request);
}
